<template>
  <div class="home">
    123
    <a-button type="primary">Primary Button</a-button>
  </div>
</template>

<script lang='ts' setup>
import { onBeforeMount, onMounted } from "vue";

// 使用 store
import { user } from "@/store/userCount";
const store = user()
console.log('store', store.num);

</script>
<style scoped lang='less'>
.home {
  width: 100%;
  text-align: center;
}
</style>